package com.gjw.style;

/**
 * @author gjw19
 * @date 2019/5/12
 */
public class ImageSketchFactory extends AbastractFactory {
    private static final ImageSketchFactory INSTANCE = new ImageSketchFactory();

    private ImageSketchFactory() {

    }

    public static ImageSketchFactory getINSTANCE() {
        return INSTANCE;
    }

    @Override
    HeroPlaneImage createHeroPlane() {
        return new HeroPlaneSketchImage();
    }

    @Override
    EnemyPlaneImage createEnemyPlane() {
        return new EnemyPlaneSketchImage();
    }

    @Override
    BulletImage createBullet() {
        return new BulletSketchImage();
    }

    @Override
    BackgroundImage createBackground() {
        return new BackgoundSketchImage();
    }

    @Override
    GameOverImage createGameOver() {
        return new GameOverSketchImage();
    }

}
